home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
C++ Files Library
/
HyperCuber Source
/
HyperCuber 2.0 Source.sit
/
HyperCuber 2.0 Source
/
CPolygon.h
< prev
next >
Wrap
Text File
|
1994-04-27
|
837b
|
31 lines
//|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//| This file contains the interface to the CPolygon class. A CPolygon
//| is a graphics primitive. It is an optionally filled closed polygon,
//| with an optional border.
//|________________________________________________________________________________
#pragma once
#include "CPrimitive.h"
#include <iostream.h>
CLASS CList;
CLASS CPane;
class CPolygon : public CPrimitive
{
public:
short boundary_color_index; // Boundary color of this polygon
CList *polygon_vertex_indices; // Vertices of this polygon
void IPolygon(CList *colors);
void Dispose(void);
void Draw(RGBColor *override_color, Point **screen_vertices,
Rect *clip_rect, Boolean fAntialias);
friend istream& operator>> (istream& s, CPolygon& polygon);
};